
#ifdef ONLINE_JUDGE
    #include<stdio.h>
    #define INPUT stdin
    int main() {
#else
    #include"header.h"
    #define INPUT fptIn
    int acm_00272() {
        printf("--ACM 272 begin here--\n");
        FILE *fptIn = fopen("Resource/acm_00272.txt","r");
        if ( fptIn == NULL )//Distinguish the fptInIn file is load success.
        {
            printf("File acm_00272.txt load fail.\n");
            printf("Program will exit.\n");
            return EXIT_FAILURE;
        }

#endif

    char tmp;
    while (fscanf(INPUT,"%c", &tmp) == 1) {

        if (tmp == '"') {
            fprintf(stdout,"``");
            while (1) {
                fscanf(INPUT,"%c", &tmp);
                if (tmp == '"') {
                    fprintf(stdout,"''");
                    break;
                } else {
                    fprintf(stdout,"%c", tmp);
                }
            }
        } else {
            fprintf(stdout,"%c", tmp);
        }
    }
    #ifndef ONLINE_JUDGE
        printf("\n");
        printf("--ACM 272 end here--\n");
        fclose(fptIn);
    #endif
    return 0;
}
/*
Problem    Ranking    Submission      Date                   Run time
272        1798       7444047         2009-09-30 17:00:20    0.008
                                      2011-05-23 18:32:45    0.028
                                      -lm -lcrypt -O2 -pipe -ansi -DONLINE_JUDGE
 */
